from rest_framework import serializers
from .models import TranslateToHex

class TranslateToHexSerializer(serializers.ModelSerializer):
    class Meta:
        model = TranslateToHex
        fields = ['id', 'original_string', 'hex_string', 'created_at']